Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Maria Asaponeteretsi 3.Nov.03 06:43 PM a Web browser
Notes Client 6.0.1 Windows 2000


Hello!
I use Domino COM object in VB6.
I need to create a local temporary database and copy document there

My code is

Dim oNotesSession As NotesSession
Dim oNotesDoc As NotesDocument
Dim oNotesDatabase As NotesDatabase
Dim oNotesAttachment As NotesEmbeddedObject
Dim oNotesTempDatabase As NotesDatabase
Dim oTempNotesDocument As NotesDocument
Dim oNotesDbDirectory As NotesDbDirectory

Set oNotesSession = New NotesSession
Set oNotesDatabase = oNotesSession.GetDatabase(NotesServerName, NotesDatabaseName)
Set oNotesDoc = oNotesDatabase.GetDocumentByID(NotesDocID)
Set oNotesDbDirectory =oNotesSession.GetDbDirectory("")
Set oNotesTempDatabase = oNotesDbDirectory.CreateDatabase("MyTemp.nsf")
Set oTempNotesDocument = oNotesDoc.CopyToDatabase(oNotesTempDatabase)
....
The problem is that the CopyToDatabase method hangs. Does anyone know why this happens? Thanks.






CopyToDatabase hangs (~Maria Asaponet... 3.Nov.03)
. . RE: CopyToDatabase hangs (~Bill Frokimari... 3.Nov.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS